
import { createApp } from 'vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import './assets/main.css'
import router from './router/index.js'
import store from './store/index.js'

import axios from 'axios'
import VueAxios from 'vue-axios'
import mavonEditor from 'mavon-editor';
import 'mavon-editor/dist/css/index.css';

const app = createApp(App)
app.use(ElementPlus, {
    locale: zhCn,
  },VueAxios,axios);
  app.use(router)
 app.use(store)
 app.use(mavonEditor)
  axios.defaults.baseURL = 'http://localhost:8080';
app.mount('#app')
